/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.util.*;
import javax.persistence.*;
 
import play.db.jpa.*;
 
public class Comment  extends Model{
    public Integer rate;
    @Lob
    public String message;
    @ManyToOne
    public Author author;
    @ManyToOne
    public Note note;
    Comment(Note note,Author author,String message){
        this.note=note;
        this.author=author;
        this.message;
    }
}
